package com.sxjh.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
public class UnlockParam implements Serializable {

    @ApiModelProperty(value = "开锁人名称")
    private String name;

    @ApiModelProperty(value = "开锁地点")
    private String addr;

    @ApiModelProperty(value = "报警类型:55时为拆机报警,58为错按报警,32为胁迫报警,34为反潜报警")
    private String type;

    @ApiModelProperty(value = "报警类型:55时为拆机报警,58为错按报警,32为胁迫报警,34为反潜报警")
    private String typeName;

    @ApiModelProperty(value = "创建时间, 格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
